const LightKV = require("lightkv");

/**
 * {
 *   gas_window: {
 *      devs: [
 *        {
 *          devid: string,
 *          settings: {} // 设备的设定值
 *        }
 *      ]
 *   }
 * }
 */
const sceneDB = new LightKV('scene.lkv', 'c+', LightKV.OBJECT);

module.exports = { sceneDB };